package com.iflytek.ci.qams.dao;

import com.iflytek.ci.qams.dto.CommentAction;
import com.iflytek.framework.mybatis.extra.MyBatisDao;
import com.iflytek.framework.pagination.PaginationCriteria;
import com.iflytek.framework.pagination.PaginationResult;

/**
 * 
 *<p>
 * 数据访问层，为数据传输对象CommentAction提供数据库访问服务
 *</p>
 * @author liyasoft
 * @version 2012-12-27上午09:41:03
 * @since JDK 1.5
 */
@MyBatisDao
public interface CommentActionDao {
	/**
	 * 根据comment id获取comment_action 信息
	 * @param c_id comment id
	 * @return CommentAction 对象
	 */
	public CommentAction getCommentAction(long c_id);
	
	/**
	 * 分页获取反馈信息的回复和action记录
	 * @param issue_code
	 *       反馈信息的pkey，即code
	 * @return
	 *      分页的commentaction
	 */
	PaginationResult<CommentAction>page_comment_action(String issue_code,PaginationCriteria criteria);
}
